<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">	
          var arr = []; 
           var num = 1; 
             while(num <= 100){   
       if(num%3 == 0){  
          arr.push(num); 
      }
           num++;  
   }
       lert(arr.join()); 

		</script>
	</body>
</html>
